﻿using System.Data.Entity;

namespace Equation.Enterprise.Framework.Domain.Data
{
    public class SingleContextStorage : IDbContextStorage
    {
        private DbContext dbContext;

        public SingleContextStorage()
        {
        }

        public string StorageKey
        {
            get { return DbContextManager.DefaultStorageKey; }
        }

        public System.Data.Entity.DbContext Context
        {
            get { return dbContext; }
            set { dbContext = value; }
        }
    }
}
